#NOTICE: You must have opencv from sourceforge's cvs
APP      = boxView3d
CC       = g++
CFLAGS   = -O3 -I /usr/local/include/opencv/ -I ./../../lib/
LDFLAGS  = -L /usr/local/lib/ -lGL -lglut -lcv -lhighgui -lcvaux  -lml -lcxcore -L ./../../lib/ -lehci
SRCS     = boxView3d.cpp
OBJS     = $(SRCS:.cpp=.o)

all: $(APP)
	

.cpp.o:	
	$(CC) $(CFLAGS) -c $< -o $@

$(APP):	$(OBJS)
	$(CC) $(OBJS) $(LDFLAGS) -o$(APP)

clean:
	rm -f *.o *~ $(APP)
